import { RouteRecordRaw } from 'vue-router';
export default [
  {
    path: '/',
    name: 'HomeIndex',
    component: (): any => import('../views/homeIndex.vue')
  },
  {
    path: '/loading',
    name: 'LoadingTest',
    component: (): any => import('../views/loadingTest.vue'),
    children: []
  },
  {
    path: '/layout',
    name: 'LayoutTest',
    component: (): any => import('../views/layout/layout.vue'),
    children: [
      {
        path: 'blank',
        name: 'BlankLayoutTest',
        component: (): any => import('../views/layout/blankLayoutTest.vue')
      },
      {
        path: 'base',
        name: 'BaseLayoutTest',
        component: (): any => import('../views/layout/baseLayoutTest.vue')
      },
      {
        path: 'pro',
        name: 'ProLayoutTest',
        component: (): any => import('../views/layout/proLayoutTest.vue'),
        children: [
          {
            path: 'test1',
            name: 'LayoutTest1',
            meta: {
              title: '测试1'
            },
            component: (): any => import('../views/test1.vue')
          },
          {
            path: 'test2',
            name: 'LayoutTest2',
            meta: {
              title: '测试2'
            },
            component: (): any => import('../views/test2.vue')
          },{
            path: 'test3',
            name: 'LayoutTest3',
            meta: {
              title: '测试3'
            },
            component: (): any => import('../views/test3.vue')
          },
        ]
      }
    ]
  }
] as RouteRecordRaw[];
